<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *,
        body {
            margin: 0;
            padding: 0;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            flex-direction: column;
            flex-wrap: nowrap;
        }

        ul,
        li {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: #333;
        }

        a:hover {
            color: lightgreen;
        }

        .box {
            position: absolute;
            border: 3px groove #1a2d3c;
            border-radius: 35px;
            background: cornflowerblue;
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 300px;
            min-height: 300px;
            flex-direction: column;
            flex-wrap: nowrap;
        }
        .content{
            position: relative;
            min-width: 300px;
            min-height: 300px;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="content">
            
        </div>
    </div>
    <script>
        var con = document.querySelector('.content')
        con.addEventListener('click',function(index){
            console.log(index.x,index.y,index.target);
        })
    </script>
</body>

</html>